package org.smr;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class GoodsApplication {

public static void main(String[] args) {
    new SpringApplicationBuilder(GoodsApplication .class).run(args);
}

    public int getExitCode() {
    System.out.println(getClass().getName() + " is exit!");
    return 0;
    }
}
